package cn.ante.org.service.impl;

import cn.ante.org.domain.ShopAuditLog;
import cn.ante.org.mapper.ShopAuditLogMapper;
import cn.ante.org.service.IShopAuditLogService;
import cn.ante.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Nai
 * @since 2022-07-03
 */
@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class ShopAuditLogServiceImpl extends BaseServiceImpl<ShopAuditLog> implements IShopAuditLogService {

    @Autowired
    private ShopAuditLogMapper shopAuditLogMapper;

    @Override
    public List<ShopAuditLog> loadBySI(Long parentId) {
        return shopAuditLogMapper.loadBySI(parentId);
    }

}
